.thumbnail{display:block;

  margin-bottom:5px;
  padding:4px;

  -webkit-transition:border .25s ease-in-out;
       -o-transition:border .25s ease-in-out;
          transition:border .25s ease-in-out;

  border:2px solid #bdc3c7;
  border-radius:6px;
  background-color:#fff;

  line-height:1.72222;
}
.thumbnail>img ,
.thumbnail a>img{display:block;

  max-width:100%;
  height:auto;
  margin-right:auto;
  margin-left:auto;
}
a.thumbnail:hover ,
a.thumbnail:focus ,
a.thumbnail.active{border-color:#16a085;
}
.thumbnail .caption{padding:9px;

  color:#34495e;
}